FROM java:8-jre

RUN mkdir -p /ripple-system-biz

WORKDIR /ripple-system-biz

ARG JAR_FILE=target/ripple-system-biz.jar

COPY ${JAR_FILE} ripple-system-biz.jar

EXPOSE 7071

ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"

CMD sleep 30; java -jar ripple-system-biz.jar $JAVA_OPTS
